//
//  FoundModel.h
//  Bees
//
//  Created by NowYouCanSee on 2019/2/26.
//  Copyright © 2019 xiaohan. All rights reserved.
//

#import "XHBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

///按钮 B&&广告
@interface FoundBannerModel : XHBaseModel
@property (nonatomic,copy) NSString *redirect_url;
@property (nonatomic,copy) NSString *ios_go;
@property (nonatomic,copy) NSString *android_go;
@property (nonatomic,copy) NSString *name;
@property (nonatomic,copy) NSString *image;
@property (nonatomic,assign)NSInteger jump_type;
@property (nonatomic,copy) NSString *introduction;
@property (nonatomic,copy) NSString *room_id;
@property (nonatomic,copy) NSString *dapp_id;
@property (nonatomic,copy) NSString *dapp_name;
@property (nonatomic,copy) NSString *game_url;
@property (nonatomic,strong) id field;
@property (nonatomic,copy) NSString *logo;

@end
///Dapp
@interface FoundRecommendModel : XHBaseModel
@property (nonatomic,copy) NSString *introduction;
@property (nonatomic,copy) NSString *redirect_url;
@property (nonatomic,copy) NSString *name;
@property (nonatomic,copy) NSString *room_id;
@property (nonatomic,copy) NSString *logo;
@property (nonatomic,strong) UIImage*logoImg;
@property (nonatomic,assign) BOOL isCollect;
+ (instancetype)initName:(NSString*)name LogoImage:(NSString*)logo;
@end

@interface FoundCategoryModel : XHBaseModel
@property (nonatomic,copy) NSString *name;
@property (nonatomic,strong) NSArray <FoundRecommendModel*>*list;
@end



@interface FoundModel : XHBaseModel
@property (nonatomic,strong) NSArray <FoundCategoryModel*>* category;
@property (nonatomic,strong) NSArray <FoundBannerModel*>* button;
@property (nonatomic,strong) NSArray <FoundBannerModel*>* banner;
@property (nonatomic,strong) NSArray <FoundRecommendModel*>* recommend;
@property (nonatomic,strong) NSArray <NSString*>* categoryTitles;
@end

NS_ASSUME_NONNULL_END
